import { createApp } from "vue";
import { createPinia } from "pinia";

import PiniaPlugin from "pinia-plugin-persistedstate";
import ElementPlus from 'element-plus'
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'

import App from "./App.vue";
import router from "./router";

import "normalize.css"
import "./assets/global.scss";

// 引入阿里巴巴矢量图标库
import '../public/font_3890256_3kcl8lwcnl1/iconfont.css'

const app = createApp(App);
const store = createPinia()

store.use(PiniaPlugin)

app.use(store);
app.use(router);
app.use(ElementPlus, {
    locale: zhCn,
})

app.mount("#app");
